Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal action As Action(Of Boolean), _ ByVal initialValue As Boolean _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim action As Action(Of Boolean) Dim initialValue As Boolean Dim instance As New BooleanUsingBlock(action, initialValue) |
C# | |
---|---|
public BooleanUsingBlock( Action<bool> action, bool initialValue ) |
C++/CLI | |
---|---|
public: BooleanUsingBlock( Action<bool>^ action, bool initialValue ) |
Parameters
- action
- initialValue
The action is performed with the initial value provided and its inverse.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family